 <div class="modal-header" id="scope">
	<h3 class="modal-title" >关联班次档案</h3>
</div>
<div class="modal-body">
	<form name="myForm" class="form-horizontal form-validation">
		<div class="panel panel-default">
			<div class="panel-body">
	<div class="row wrapper m-n">
			<div class="form-group col-md-4">
				<div class="col-md-11">
					<input type="text" ng-model="queryMap.shiftNo" class="form-control" placeholder="班次号">
				</div>
			</div>		
			<div class="form-group col-md-4">
				<div class="col-md-11">
					<button type="button" class="btn btn-info" ng-click="query()">查询</button>
				</div>
			</div>
	</div>			
    <p style="margin-left: 20px;" >说明：输入班次号查询班次档案（可模糊匹配），勾选班次点击提交即可。</p>
	<div class="table-responsive">
		<table class="table table-striped b-t b-light">
			<thead class="fixedThead">
				<tr>
					<th style="width: 10px;"><label class="i-checks m-b-none" >
							<input type="checkbox"  ng-model="ckAll"
							ng-click="checkAll(ckAll,list)"><i></i>
					</label></th>
					<th>班次号</th>
					<th>线路</th>
					<th>开班时间</th>
					<th>车票数</th>
				</tr>
			</thead>
			<tbody class="scrollTbody">
				<tr ng-repeat="shift in list">
					<td style="width: 10px;"><label class="i-checks m-b-none"> <input
							id="{{shift.ic}}" name="checks" type="checkbox" ng-checked="ckAll"
							ng-model="checks" ng-click="check(shift.id,checks)" value="{{shift.id}}"><i></i>
					</label></td>
					<td>{{shift.shiftNo}}</td>
					<td>{{shift.route.name}}</td>
					<td>{{shift.startTime| date : 'HH:mm:ss'}}</td>
					<td>{{shift.tickets}}</td>
				</tr>
			</tbody>
		</table>
	</div>
			</div>
			<footer class="panel-footer text-right bg-light lter">
				<button class="btn btn-default" type="button" ng-click="cancel()">取消</button>
				<button type="submit" class="btn btn-success" ng-click="ok()">提交</button>
			</footer>
		</div>
	</form>
</div>
<style>
.table{
            width: 100%;
            border-collapse:collapse; 
            border-spacing:0; 
        }
        .fixedThead{
            display: block;
            width: 100%;
        }
        .scrollTbody{
            display: block;
            height: 262px;
            overflow: auto;
            width: 100%;
        }
        .table td,.table th {
            width: 200px;
            border-bottom: none;
            border-left: none;
            padding: 3px 3px 3px 4px
        }
</style>